import Vue from 'vue'
import Router from 'vue-router'
import Mobile from './views/Mobile.vue'


Vue.use(Router)

export default new Router({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/',
      redirect:'/mobile'
    },
    {
      path: '/mobile',
      name: 'mobile',
      component: Mobile
    },
	{
	  path: '/safe',
	  name: 'safe',
	 component: () => import('./views/Safe.vue') 
	},
    {
      path: '/performance',
      name: 'performance',
	  component: () => import('./views/Performance.vue') 
    },
    {
      path: '/algorithm',
      name: 'algorithm',
      component: ()=>import('./views/Algorithm.vue')
    },
    {
      path: '/fe',
      name: 'fe',
      component: ()=>import('./views/FeList.vue')
    },
    {
      path: '/addFe',
      name: 'addFe',
      component: ()=>import('./views/table/addFe.vue')
    },
    {
      path: '/addIcktCourseDailyContent',
      name: 'addIcktCourseDailyContent',
      component: ()=>import('./views/table/addDailyConent.vue')
    },
    {
      path: '/addIcktCourseDaily',
      name: 'addIcktCourseDaily',
      component: ()=>import('./views/table/addDaily.vue')
    }
  ]
})
